package com.springboot.astra.bean;

public class RolesPermission {
    //sys_roles_permissionId, permissionId, roleId
    private Integer id;
    private Integer permissionId;
    private Integer roleId;

    public RolesPermission() {
    }

    public RolesPermission(Integer id, Integer permissionId, Integer roleId) {
        this.id = id;
        this.permissionId = permissionId;
        this.roleId = roleId;
    }

    public RolesPermission(Integer permissionId, Integer roleId) {
        this.permissionId = permissionId;
        this.roleId = roleId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
